package com.smalls.newvideotwo;

/**
 * @author thearyong
 * @date 2017/3/20
 */

public class Constants {

    public static final String RESULT_STATUS_OK = "0";//0成功；非0失败

    public static final String DOWNLOAD_ACTION_COMPELETE="com.smalls.download.compelet";//下载完成广播

    public static final String TAG_CONFIG = "NewVideoTwo_config";

    //======== ACTION ========//
    public static final String ACTION_SUMA_UPDATE_TOKEN = "com.sumaott.auth.UPDATE_TOKEN";

    //=======================API=======================//
    public static String API_ROOT() {
        return "http://"+NewDTVApp.getApp().getmEpgServer();
    }
    ///分类CATEGORY
    public static String API_CATEGORY () {
        return "http://"+NewDTVApp.getApp().getmEpgServer() + "/category";
    }

    //推荐位
    public static String API_RECOMMEND () {
        return "http://"+NewDTVApp.getApp().getmEpgServer() + "/hotmovie";
    }

    //详情页
    public static String API_DETAIL () {
        return "http://"+NewDTVApp.getApp().getmEpgServer() + "/movie";
    }
    public static String API_TODAY () {
        return "http://"+NewDTVApp.getApp().getmEpgServer() + "/today";
    }

    //直播列表
    public static final String API_CHANNEL(){
        return "http://"+NewDTVApp.getApp().getmEpgServer() + "/channel";
    }
    //EPG
    public static final String API_EPG() {
        return "http://" + NewDTVApp.getApp().getmEpgServer() + "/epg";
    }

    ///apk info
    public static final String API_APKINFO= "http://hxzwmk.com/app/detail/get?package=";
}
